home *** CD-ROM | disk | FTP | other *** search
/ The Datafile PD-CD 1 Issue 2 / PDCD-1 - Issue 02.iso / _utilities / utilities / 003 / _gs / !GS / ps / DECRYPT < prev   
Text File  |  1991-10-25  |  289b  |  13 lines

  1. % Decrypt an eexec-encoded file.
  2.  
  3. (t.in) (r) file /in exch def
  4. (t.out) (w) file /out exch def
  5. 256 string /buf exch def
  6. 55665        % eexec encryption seed
  7.  { in buf readhexstring /more exch def
  8.    dup type1decrypt out exch writestring
  9.    more not { exit } if
  10.  } loop
  11. in closefile
  12. out closefile
  13.